changing mailer view into a modal