Added support for adding palette to other elements than input, and added disable state for inactivate the popup
If element is disabled, leave show function before stopPropagation to avoid conflicts with parent events.
Merge pull request #1 from OlofFredriksson/master

 Added support for adding palette to other elements than input, and added disable state for inactivate the popup