Fixes NB#112533, long attachment's name is not truncated in the "Select attachment...