remove closeOnClickInside, handle no meny type defined, properly assign and remove classes on close