Make sure the widgets doesn't crash on edit