-- Added:
Revert "-- Added:"

This reverts commit 026439a91340f1d3bf5085a6ac26360882d09e78.
Added:

gw2_common_functions.CreateDialog(name,func)

name = "string" -- name for field to be filled in dialog
func = "function" -- function you want field data to be passed to

changed sm to use dialog.

removed attack range from global, all handled inside sm