PIM-1893 Allow using select2 search box in jquery ui dialog