Add ajax upload image loader and finish popup