#627 File / image preview boxes are rendered in the view instead of code helper; fixed position of messages