include conditional witter buttons in footer