enable to show dialog