overloading function messagebox display