added behavior for click actions