added close buttons to new note and new ext resource modals