Fixing wrong event identifiers for prompt's modal dialog creation

After creating a dialog the "shown" (to set focus) and "hidden" (to remove the dialog from dom) events are hooked for the modal dialog. However, in Bootstrap 3 the events are called "shown.bs.modal" and "hidden.bs.modal". Therefore the callbacks were never called, so neither was the focus correctly set after the dialog opened nor was the dialog's DOM elements correctly destroyed afterwards.
Changed both identifiers. Works now.