adding delete and edit notes, removing alert boxes