plot_image_ui remove unneccesary window

second figure windows was opened without reason