fix closing map selection modal