Fix the missing "X" (close) button on the dialog