Implemented insert and added confirmation boxes for context actions.