Implemented custom right click options for different elements