Added form fix

Method of opening/closing forms was wrong and have been corrected.