Added undo to comp settings dialog