Fixed undo problem closing features panels.