Dismiss IME when floating window is dismissed