LPS-48364 User is brought to the end of page when try to Add Page from Site Pages

https://issues.liferay.com/browse/LPS-48364