Fix bug in lesson payment dialog