Working redirect after plan create/edit and loading widget logic