title: Show a confirm dialog from ORM methods
body: <p>I want to perform some checking in the ORM write method and show a confirm dialog with yes/no choices to ask confirmation.<br>
  If the user click yes, then the record will be saved. Otherwise, the dialog would just be closed.<br>
  I tried using exception raising  but I don't know how to get which button the user clicked. Moreover, raising an exception implies that the method execution stops which is not what I want.  </p>
  
  <p>I also tried by creating a wizard in order to have a custom confirm dialog. But to display that wizard, a dict populated with special values (such as the id of the wizard view) has to be returned. Obviously, I can't return that dict from ORM method such as write.<br>
  How can I achieve this ?<br>
   What is the best way to do that ?</p>