Moving Markdown editor code out of the partial and into its own file
Reverting commit f681359baaccc700ca818a9a146929916e328e15 which was the cause of dialog not working