rackerlabs/encore-ui — pull request #419 by halkon (2014-07-30 21:59:29+00:00)
Title: feat(rxModalUtil): (DO NOT MERGE) Modal Functionality for better control

All,
Writing up functionality that has been used in a few projects into sort of a factory. Ideally this may/should be in the modal functionality itself, or just stay as a wrapper.

Here are the thoughts:

* One common behavior of modals (closing/display/etc) given status of functionality within it (API calls/actions/promises)
* Functionally be able to control the modal and when to close it (whether controlled by the resolution of a given promise, or controlled directly)
* Notifications for within the modal and the page. (Should the modal define it's own notifications, or should it be included in rxModalForm)
* Should we have the ability to control buttons? (modify rxModalForm)