added support for configuring modal position
remove typecheck and check for string value
Merge branch 'dev'