bugfix: can attach files to new pages