auto open file select when image gallery added