Fixed secondary button in documents panel