when a modal is hidden, it is fully removed until a new instance is called again.  this is to eliminate accidential usage of modals in modals and to refresh with a new modal if nessesary