Add a new option, impliedBehaviorOnClose, with possible values 'None' (default, for backwards compatibility) and 'Cancel'. This allows for more flexibility instead of PR #40.
On a second thought, the version from #40 seems fine, so I'll close this issue for now. If anyone needs the old behavior, please reopen this issue (or a new one).
Add a new option, impliedBehaviorOnClose, with possible values 'None' (default, for backwards compatibility) and 'Cancel'. This allows for more flexibility instead of PR #40.