removed extra dialog