change visibilty of MyDialog layout.