app.helpers.dialog binds another dialogopen event every time a dialog is opened. Each of those dialogopens then binds another keypress function each time the dialog is opened. The exponential growth of keypress functions is problematic for prompts, where the resulting button click triggers some action. :o
Moves the binding to app.helpers.dialogInit where they should only bind once.
app.helpers.dialog
binds another dialogopen event every time a dialog is opened. Each of those dialogopens then binds another keypress function each time the dialog is opened. The exponential growth of keypress functions is problematic for prompts, where the resulting button click triggers some action. :oMoves the binding to
app.helpers.dialogInit
where they should only bind once.