rerender modal if the view already exists
better doc implementation