Should the be model.close() or modal.close()?