Removes photo id from hash when closing light box.