conditionally show back to map button