Corrected z-index of popup signup and added open/close functions.