replace alert by new msgbox dialog