Please add the following functionality to your standard Dialogs:
Option to select a default (has focus) button.
Useful to maintain a standardized order for dialogs (Yes , No) but allow for a change of focus (focus on the Yes OR focus on the No). Handy depending on whether the pending execution is generally ok or perhaps not generally ok to proceed. Example: record deletion (I like to set the default button focus to a No response).
So, instead of:
plugins.dialogs.showQuestionDialog( 'Title', 'Delete Record?', 'Yes', 'No')
Here, focus will be on the Yes button.
Something like:
plugins.dialogs.showQuestionDialog( 'Title', 'Delete Record?', 'Yes', 'No', 'FOCUS=No')
Focus would be on the No button with this enhancement.