Adds optional confirmation window (disabled by default)

Adds an optional confirmation window when panic is triggered, to prevent accidental panics. This behavior can be controlled through settings, and is disabled by default.