finish showing the success dialog in 3 seconds and hide after 3 seconds and show it in the footbar