changing the event to fire after all pictures have been inserted/removed like the original pull request