clean up dialog module