Install SDL2.dll when needed. Fixed closing of some dialogs when a device is removed.