fix archive button creation

Don't create output if no url etc. has created (archivebutton and
editbutton).