Foolproofing the add pictures dialog until it gets validation