i know that way, but my problem is different.
As i click edit details, i move to the editor, so edit detail and text writing process in editor is one action. So that means i have control on only one action which is done first i.e. "edit details" and then i move to "update details" button. There...