Simij,Mansi | #338, checking for form availabilty before doing any other operation on form