Added JS logic to handle new create snippet button.
Added JS logic to handle new create snippet button.

Signed-off-by: Piers Warmers <aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d@pierswarmers.com>

pierswarmers/rtCorePlugin,pierswarmers/rtCorePlugin