Cleaning up dialog UI for rule disable / preferences