Bug 1100295 - Implement navigation logic. r=crdlc

Due to the 'confirm' dialog. Without this, the transition of Settings panel is not working