fixes editor image insertion wizard that got stock when choosing a style to insert; closes #25