attachment editor starts in view mode if there is an attachment... else in edit