Closing dialog after successfully adding video