Add handling of close completed for overlay