Fixed third party js reference
Gave modal close buttons unique ids
Fixed casting issue
Clientside reset code