added close buttons to notes and picture frame