fixing metadata and preview nav button conditional visibility, closes #549, closes #548