Toolbox: DRY opening functionality