adding interactions to show and hide action buttons