The issue is resolved when you want to save your gazebo world go to file menu click on save world as then minimize the window and the save dialog is appear