removing file from multiple preview step closes dialog