Modal footer only appended if buttons exist.