Implemented insert variable or functions from dock with double click