FREEPBX-8045 - onclick won't bind to new elements being added to the DOM,
binding to document will though
Merge branch 'FREEPBX-8045' into release/12.0