fix sort trigger to unsaved msg and submittable