Resolve alert prompt text box issue for ios7