added cancel button to reset password dialog