new modal approach taken due to problems with native bootstrap modals