Replace 'window' in mode names to 'application'