Close lister if lister is open

Could be done using a script.

Good starting points: