Fix dialogs disappearing prematurely; fixed crash when killed by Agar Man