Added open notes functionality