Fix bug #7143 (Edit Filter dialog's dismissal buttons are in wrong order)

Fix bug #7143 - Dialogs expects to be passed Mac button order, not Win.

@redmunds, could you review?