detect current module on design and system tabs