Fix use of yesno

If user press ESC on the yesno dialog, we wore still performing the
action, instead of cancelling. For instance: the user chose to finalize
the work order, press ESC, the work order was finalized anyway

Change-Id: Ieabe01d4b51d0b6778736eefac7aa30e8953240c