widgets enter and exit edit mode