Changed add module to include error check

if not all fields completed, show error message