mainUI handles Open and New in a unified way