enter command mode on save