Fix dismissAlert for UICatalog on iOS 7
Merge pull request #1438 from bootstraponline/ios7_alert_dismiss_fix

Fix dismissAlert for UICatalog on iOS 7
Fix acceptAlert for UICatalog on iOS 7
Merge pull request #1439 from bootstraponline/ios7_alert_accept_fix

Fix acceptAlert for UICatalog on iOS 7
replace quotes with replace(), not weird string truncation