Check if dialog hide function exists.