Only create footer if buttons exist.