I have the same hydro mech roof on my M3 Cabrio (1989) and know about the problem. If it's only the last operation of the lid closing properly then there is a micro switch hiden from normal viewing by the operating mechanism. I can send you a pic if you like and tell you how to go about fixing it.