Fix cancel button on sendEmail