Added modal flashcard functionality -FMD