modified detailedialog
implemented favorites