show spinner when loading, exit on back