Fix extended command dialog triggered inside inventory (#11)