fixed dialog keeping focus