Remove dialog from DOM until open.