Modify the dialogs library to actually auto-focus the close button.