baseDialog bug update