Close modal after deleting app
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`
Raffo/marathon-ui,quamilek/marathon-ui,janisz/marathon-ui,Kosta-Github/marathon-ui,Kosta-Github/marathon-ui,mesosphere/marathon-ui,watonyweng/marathon-ui,mesosphere/marathon-ui,cribalik/marathon-ui,quamilek/marathon-ui,yp-engineering/marathon-ui,watonyweng/marathon-ui,janisz/marathon-ui,Raffo/marathon-ui,pierlo-upitup/marathon-ui,pierlo-upitup/marathon-ui,cribalik/marathon-ui,yp-engineering/marathon-ui