stability fixes for modals (bugs). also added option to hide html scrollbar (background scroll) and add any content classes to the modal content container.
callback in modal show removed from global scope