From the rich text editor documentation:
The rich text editor breaks/ dissappears in a popup form with autoclose, if there are data validations when closing. This is due to a bug in the client. A work around is to use a custom save button with a 'change and commit with events' activity and a 'close form' activity.