add alert dialog for image num