move 'add another image' functionality out of helper