added an insert slide function on right click