Change modal html flow to allow for modal-background template