custom bootstrap undo