dialog should hide after mask
rebuild