drying in a controlled environment is a great idea, 65-75f and humidity between 30-55% will allow for a nice even dry.
if you want to store for long term i would dry it until you feel it is getting crispy on the outside and you can easily break a bud from the stem. simply fill the jar right up leaving very little air in there. some prefer to place their weed in a jar while it still has moisture and burp the jars every so often. i've not done this in years as i prefer to just get it dried and smoked asap haha.