Fixed redirect on reg modal close