disable input during loading, add html elements