adds possibility to keep the selection while clicking away from the visualisation using the .keep-selection class on the desired element