Added onOpen callback

Now I can apply plugins to the input like input masking for phone numbers :D