replace window.confirm with panel