Fixing dismiss upwards, refactoring around a bit on how app reacts when
it becomes idle.