resign first responder before dismissing send view
dismiss scan view before presenting send view