Dialog showing fixes