added ionicmodal
added templates for new notes
fixed notes templates