panels: fix footer attribute when no value is specified