Added data-target and fixed selection bug.