Prevents network modal to be called before is created.