I am trying to create a users manager, I can create edit and delete users, In the delete action I want to display a modal confirmation dialog with a "proceed" & "cancel" buttons, to confirm user's suppression.
What are the best practice to do that, I am using ember-cli 0.2.3, There a lot of suggestions in the net, I am a little bit confused with those solutions, what is the standard or the best way to create modals with Ember-CLI ?
YOu should bind your toggleModal function with the delete button and your deleteUser fucntion with the 'ok' button in the modal.
For example:
You can see here in detail how to create and style your modal