scripting the finder of another machine

i’m a newbie @ applescript and i was trying to script the finder on another computer. Everything works fine for example create a folder on the desktop of this computer etc. but when i use the display dialog command is get an error
‘No user interaction allowed’, why do i get this error and what can i do to get rid of it
the code i used was someting like this

tell application "Finder" of machine "DVN Server" 
  using terms from application "Finder" 
  display dialog "message to display" 
  end using terms from 
end tell

can anyone help me out?