[Undo/Redo] Warning dialog for undoable actions

Spells and some other actions are not currently undoable, and the user
needs to be informed of this before relying on the Undo feature.