Make the dialog overlay fade out properly