Fix wrong function call + Don't pop a dialog every times instanceChanged failed.