Setup general modal

Setup modal functionality so that modals can be placed consistently in the right place in the HTML, so that a helper can be used to generate consistent modal HTML and so that standard reusable modals can be utilized using JavaScript.