note model edit: returns full note data on edit, not just passed data. note controller edit: now cheks file file properly