Docs: updated panel open and close events description. Fixes #5611