add hack to enable select2 on bootstrap modals
see https://github.com/ivaynberg/select2/pull/651