Close modal after deleting app

* Handle delete failure by showing an alert with `alert`
* Wait to remove model from the collection until the server responds
  with `wait: true`
Merge pull request #572 from mesosphere/close-modal-on-app-delete

Close modal after deleting app