Add timeout on beforeunload save call
Fix closing inventory prompts
Fix long DisplayMenu dialogs not displaying correctly