Remove old hideModal() stuff