Disable tab key when dialogs are open.