I'm not sure if this can be done efficient way as it needs to glitch player to not lose connection while dying. I'll add it anyway. so if other scripters look for a challenge, someone might write it.
Maybe I'm wrong, but that sounds really easy to achieve. I'm gonna check it later.
@EDIT: Seems like this can be done playing with groups (flags), conditions and some creaturevents, the sad thing is we don't have an onMove event yet to prevent the player from moving while the modalwindow is on.
Any dialog will prevent the player from doing other actions, but only on the official client... And I'm guessing that you could still move your player with any bot.Doesn't the modalwindow it's self keep the player from moving???
When I tried that script it wasn't working right, I hope is fixed nowThe function to stop movement is on that list already.