custom button for replyForward=true&reply=replyAll action for unred email in cases module


We are trying to redirect the user to the parent record (Case) after the email sent activity is done in Email module. the user case scenario is stated below.

we are creating support cases from email. But don’t want to go to the history panel and then to the detail view of the email to replyall the recipient.
So what we have done is. We created a custom button onclick of the button it redirect to the email module " index.php?module=Emails&action=Compose&record=&replyForward=true&reply=replyAll
but we are facing difficulty to get back the user after sending the email to the detail view of an case.

Can anyone suggest a solution how to get back the user to the case detail view. after the email is sent.