photo modal working for transfering noted attributes from modal to page