Revert "Add restart dialog"

This reverts commit f5979c370077929fb77a389797c43d510a1a0118.