PM: gets notes working within 'code' button