changed modal size and fixed form validations