a custom alert window, can also be shown as sheet