if inputs are null, dont allow add to be clicked. logic implemented in template. style time