Handle Alert with No Buttons

* Fix #2111
Merge pull request #10 from dandoveralba/fix-alerts

Handle Alert with No Buttons