forked from Ivasoft/mattermost-mobile
* Add popDismissToChannel
* Use popToRoot + dismissAllModals
* Just dismissAllModals and popToRoot
* Revert unnecessary changes
* Close permalink on popToRoot
* Emit after dismissAllModals and popToRoot
(cherry picked from commit 1324bfd0bf)
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>