[KRACOEUS-8530] Override and fixes for add line dialog fixes, also rever...

...sion of attachment fix to be in line with the fix in rice
there is no attachment now, it was pointing at the wrong thing before, also forgot to put this jira for this on this commit as well.  In this case it will always be pdf because we do not allow other attachments here (there is an explicit check for this)