Move adding a new layer onto the stack into the open() function
Allow literal HTML to be injected into the modal