$modal is created but it doesn't working yet.