some fix to controls

add processing of click to grid elements