Clear out dialog content when loading new one.
Don't rely on external styles.
Add close button functionality.