partial fix to the email modal