public async static Task RemovePageAsync(PopupPage page, bool animate = true)
{
if (page == null)
throw new NullReferenceException("Page can not be null");
if (!page.IsAnimate)
{
if (animate) await page.DisappearingAnimation();
RemovePopup(page);
await Task.Delay(50);
page.DisposingAnimation();
}
}