GM: Add event listeners to cancel and close links on project create and share modals