@Christiaan a workaround might be to block the save by returning false to saveRecord() and using a user defined function to show the dialog box and 'call' the save function manually by getting the button element and firing the click event (not really a recommend approach btw)