Add hash to URL for modal and re-open if hash is present on load.