using message box instead of floating window