Add sticky toast behaviour on text selection

To allow users to copy&paste text selected on a toast, I've added a new option (stickOnTextSelection) that defaults to false, plus some small changes to the hideToast function and the closeElement click handler.

Regards,
Imerio