HUE-1089 [beeswax] Loading data can show a 500 error

Ajaxify load data popup and fix the tests