implemented open/close index actions