arrange form in add layer popup