Bug fixes and modality for detail views