Disabling before and after widget