closing file editor takes you back to correct path [closes #5]
refactored controller navigation code to live in base controller