fix add category form and make picture selection non modal