Allowing switching between button styles when the email dialog is showing.