Append panel only when respond type is 'text/html'