wait until select2 data is set to swapview