removed modal partial and changed logic for required card fields