functionality not similar on webClient as in smartClient

New to servoy and using the sample solution (servoy_sample_crm)

Two queries
1). Any advice on how to resoluve these errors as shown in the screen dump. I get this error when starting up smartClient.

[attachment=0]servoy error.jpg[/attachment]

2). The only item that I have added is a button to the frm_company form with the following code

onAction → method

function myFormMethod(event) {
	
	//show input dialog ,returns nothing when canceled
	var typedInput = plugins.dialogs.showInputDialog('Specify', 'Your name');
	//show dialog
	var thePressedButton = plugins.dialogs.showWarningDialog('Title', 'Value not allowed', 'OK');
	
}

On smartClient, I can see the two dialogs, but the webClient button does nothing…
What am I missing. Initially it did show ok, but now nothing happens, have stopped/started servoy/ browser and still no joy?

Thanks

Regarding (2) there are some differences between Smart and Web Client and the Dialog Plugin is one of those, please have a look at this doc to start with: http://wiki.servoy.com/display/public/DOCS/Web+Client+compatibility+overview

Thanks Nicola,
Still puzzled in that a brand new solution does work fine for the above.