[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